package com.zz.parkingsystem.service.impl;

import com.zz.parkingsystem.entity.ExceptionOrder;
import com.zz.parkingsystem.mapper.ExceptionOrderMapper;
import com.zz.parkingsystem.service.ExceptionOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ：zzz
 * @date ：Created in 2022/9/2 10:29
 * @description：aaa

/**
 * @Auther: BAISIHANG
 * @Date: 2022/9/5 - 09 - 05 - 19:44
 * @Description: com.zz.parkingsystem.service.impl
 * @version: 1.0
 */
@Service
public class ExceptionOrderServiceImpl implements ExceptionOrderService {
    @Resource
    private ExceptionOrderMapper exceptionOrderMapper;
    @Override
    public Integer getNumberOfAbnormal() {
        return exceptionOrderMapper.getNumberOfAbnormal();}
    @Override
    public int getunusualSum() {
        return exceptionOrderMapper.unusualSum();
    }

    @Override
    public double getunusualMoneySum() {
        return exceptionOrderMapper.unusualMoneySum();
    }
}
